renames main.html to index.html