Updated index to handle .Rmd as well as .rmd