Migrate index.php