app-server.sh file taken from the lean branch to accomodated changes for Escenic 5.7