updated to use index.html