Add head generation cli