Added the ability to build on a server, so that the XML is flattened to lower processing time.