Run the script by default for non-bash shells
A couple more bashisms squashed