fixed quality flagging, added minute resolution to file start times