modfied index.php