various bugfixes to amplifier characterization scripts