moving head.php to global templates