Mods to index and gitignore