Adjustments to build and fix index.html