Update rt env build script