converted plots XML input over to new XML reader