revising client scripts