Spectral Analysis Script Generator