script and html updates