add loop in portgenerator-for-deploy.sh