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