Modules

extract the environment from a shell after executing commands
store and retrieve environment