In order for a Bash script to be executed like an OS command, it should start with a shebang line. What does this look like?
~/usr/bin/env bash
#!/usr/bin/env bash
#/usr/bin/env bash
'$!/usr/bin/env bash