change index to html file