set up index as an html file