minor updates to run spectrogram