added spectral script