Modify `setup-env.sh` to export fewer variables but to still set the module() function correctly.
set -u