simplified index.php