script for creating index.html in progress