Revert "The environment variables should already be set via the orders, no need to redefine them here"

This reverts commit 2213249c6a603d6b938921776183b461b3e4428e.