Changed to use /usr/bin/env bash rather than /bin/bash.