created production environment flag for customizing generated code