adding poor gen-diff script