It worked! That's the only change I made, took out that errant space and
it ran.
Seems odd, because the script itself was running (it output its
messages) and I would have thought if it couldn't identify the shell
properly it would have failed altogether...?