generate_bes_from_template
