Added in breadth-first search for index.html if it is not at the root level and there are non-standard directories in the app.