fate: add an option to generate the references