Bash functions and helpers for opsworks