add support for index.html in package root