fix wc scripts