Changed #! lines from /bin/bash to /usr/bin/env bash.