changes html to index