updated the script again