Switched `#!/bin/sh` to `#!/bin/bash`

Code current uses features defined beyond the POSIX standard.