Fixed broken links and index.php