Only load funcs if we need to

A data match is the only match that requires functions, only generate the functions if running the rare data match