Set up environment variables.