Updated sitemap generator ruby code