add head file generate