updated template.php hook to new name