client script is ready