Added support for enabling/disabling environment redeployment