Simplification of the index.php