Prepare app.