Tweaking index.php to improve readability