edit index.php core app