Add complete script into head