fixing issues with concurrency and adding index.mustache