KNS_Hyperspectral_scripts - mainly csh