preflight changes to make sure sub flights save

Signed-off-by: Tim Traver <ttraver@mivamerchant.com>