update rebar and modify script to appending opts