Use bash shebang.
Use absolute path for rebar.