Modified test.sh