fix sh compatibility of singularity launcher
Somehow some versions of singularity seem to be ignoring bash requirement of some scripts, so made environment scripts sh-compatible
Somehow some versions of singularity seem to be ignoring bash requirement of some scripts, so made environment scripts sh-compatible