modify insert.php application to Application.