tweaks for production mode