Start building out xml writing script. Testing in console.