Determine which environment it is running in.