updates to app.sh