non-django scripts and support code for the GCD