Changing index to html