got it to read from index.html