This is actually a /bin/sh script, /bin/bash is not needed.