Fixed directory in main index.php