use '/usr/bin/env bash' so it works even on systems that stupidly symlink /bin/sh to dash or some nonsense