updated code for running performance, waiting for correct node configuration
updated for new test with 4 nodes