Changed to use bash

Changed to use bash instead of dash in shebang line to avoid
syntax error.