updated client scripts