Added app functionality back into app.