index.html handling