Updated performance scripts to (hopefully) final form (at least for gathering).