corretto deploy/undeploy input parsing