Fix client script