Make use of newest 'head' feature of fpgen to fully automate the output generation.