Replace /bin/bash with /usr/bin/env bash.