fixing env vars used by python