How to Build a Fail-Fast, Safe Bash Scripts