Messy way to make index and sitemap work!