got the app to read from index.html