Remove -e
Replace error with fail
Add set -e to all functions
Remove local to make it exit on non-zero exit codes
Add more info statements
Bump version