fixed runClient script