updated handleXML imports