refreshing index on save to ensure defaults are only set when necessary
updating .gitignore