Script to run the app.