updated exportSpectra.au3