Added the redeploy feature