Update sitemap generator to work properly