Update test.sh script to support multiple apps