Added Xml Export and Dynamic Saving