Updated FlatEDM workflow

Yet another update to the FlatEDM workflow toward production.