Bash boilerplate with the util helper functions