Revised the Spectrogram Scripts