Commenting and dont use legacy in_production_env? method