change build script dependency ordering