Improve the script.