adding client script