Added static index.html detection