Updated app.php final.