fine tune index.php