Add env switch to run in production mode