How to use Head Codes and the HCL files