Added port settings from XML