Use #!/bin/bash explicitly instead of #!/bin/sh