Set up environment variables for the UM.