Revert addition of --deploy-mode