Added more detailed checks for index.html