Added code to include port settings and offloading customer mode run in ini file. Fixed bug where wrong Location was been used in Locations segment of code