switched to more-portable /usr/bin/env bash for shebang