changed portgenerator-for-deploy script