xml log writing and scraper updates