switching to production mode.