Build the correct index.html