updated index.php to work with comment display option