Updated to use xmlstarlet and more debug options. Currently the themeserver url is broken, switched to bing url but the image quality is rather poor. Going to investigate where the new themeserver url should point