Added: auto index.html detection