Use `bash` instead of `sh` for proper use of `export -f` with scripts