XML reading/writing works now