Modified the script to work with the KiCad GAL branch.