remote run coded on client side