updates to support rebar3 and hex