save old index.html only once