Create mode.php