Changes the Index file