Minor fixes to performance scripts