new version of client script