Aha! That works. Still trying to figure out uci.
I’ve attached my cfg_diff.pl script if anyone is interested.