Fixing for setting the execution environment