adds client script