template.php hook addition