some lines added to index.php