Updated I/O and Flow Initialization