Fix up bash boilerplate