updated diff script, fixed and closed # 11