Another try to set up the script. Hope this one works