How to change the `sh` command to run scripts in bash 4

Solution 1:

I used homebrew to install BASH4 and I use the shebang #!/bin/bash every time. This works for me with both sh and ./ styles of running.