Import targets from XML and cycle through them