rewrite index.html