See this Comm Center note from Saulius Adomaitis. Add a token #ROMODE to substitute the name of the readout mode to both lights and flat files.