Updated to not depend on local index.html file