generate index.html file