root build script