migrate to index.html