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