allow the xml and port to com in in any order