updated index.php quirks