Adjusted assigment of environmental variables