Fixed up the script for CN gov data

I’m pretty sure this implementation makes no sense but I’ve been
working on this for hours and I need to move on to something else.
Merge branch 'local-dev'