Making index an html file