made spectraperf module and fixed PYTHONPATH in script