Making changes to index file.