reviewed and resolved the bug in perform_test_avg script file