tweak the espec script so espec can run as a rebar dependency