FLOW_MOD refactored
METADATA working again
METADATA working again
most recent version of the code