added envvars to python code