properly set up environment variables.