new script with autogenerated index.html