fixed pickle
Revert " fixed pickle"

This reverts commit 5f504c08bb5bb196d3b3ed5da75e668bfbb7e5c2.
Removed some unneeded variables from the list of required variables
Moved the environment variable definitions to another file
same as before