Shell scripts can be run from actions - so I don’t think there’s anything broken with BigFix.
Sometimes it can be the environment see this post for discussion.
You can also execute scripts by invoking the shell and passing the script as a argument, if you do this you can drop the chmod 777 statements.
/bin/bash /path/to/script.sh
Also watch out for /tmp being set up as non executable