Create smarter diff script.