adjust client side script