Removes regex function.
Adds the index file back into the theme...