fix bugs in Lmod support, run 'lmod python use' on all module paths, make sure only os.environ lines in stdout are exec'ed