functionality for portgen-deploy-live.sh