database script and removed index.html