move struct to base script. parse xml to get uuids