Use /usr/bin/env bash as shebang for scripts, because bash is not at /bin/bash in some unix systems.