Fix environment variables.