modified apptest.sh