corrected path to index file