Remove test output and reads
Change ping to cluster management IP/Name
Remove output files if $1 != test
Fix typo