Updating to handle multiple hosts in XML file.