Made large sitemap creation generic