changing index file