we on;t need to gen_functions if we are doing a data match
Merge pull request #15685 from thatch45/funcs_only_in_data

Only load funcs if we need to