added index.html support