deploy command improved