Udated the script