shell script for app server