Performance test shellscript fixes