Added #!/usr/bin/env bash to make script more portable