modifying index file text