added and made modifications to single.php