Hello Rocco !
AS you are working already with the code directly (isn't such a good process for the future upgrades) you may use the constructions like:
$oTemplate->addInjection('injection_head', 'text', 'your tags');