Improve web script