After installing bash via MacPorts, it works for me. All except #3 cutesaver, which gives an infinite loop of:
cutesaver.sh: line 55: shuf: command not found cutesaver.sh: line 55: shuf: command not found