More work on process_sheet, writing out status field