run script in posix-compat mode to sidestep weird issue with /etc/profile overriding modules in subscripts