little changes in script and html