correct perl and bash shebangs for NAS