improvements; add restore db and replace index.html plays