Add a comprehensive index.php