Added ability to edit existing XMLs