SAFE_MODE support. For deploy to production.