more refinements to appflow