Improved html script.