now reading from index.html