Fixing async while loop bug
Adding sitemap generation.