overwrite the index.html by the main.html