Call read_stream_flags() as soon as we open the batch file for