updated to read index.html