update script.py and index.html