changes for production mode