Bug fixing the index.html file not generating