Use #!/usr/bin/env sh rather than #!/bin/bash