recursive diff script. Old. Still useful.