repare client scripts