adding code for generating sitemap.xml