Modify client scripts