modified Application.php