updated for fields and demo flow

modified export table def to accept fms field names