Added function to inject more head elements manually.