test and update the script