Upated the script.