Fix regexes
Finish creating index file