Automatic regeneration of index.html in temp if needed