trying to get the script to do the work