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