Both of the new scripts fail on FreeBSD because /bin/bash is not installed there. There are many other systems in which this is true as well. As far as I know /bin/sh is pretty much guaranteed to exist on any UNIX-like system.