getncchanges script: use library code, not copied functions.