rmw script