fixed rr build script