Change index to html