regenerate index.html