updates to generate an index.html file