unify hopper build scripts