Replaced the code to just create the XML's