Fixed redeploy command to fully execute