Rewriting index.html