Working version with single index.html file