datadiver: get all variables, store func and task flags