Set up for flow initialization