Scripts to build NOL spectra