Slightly updated ntuple output to include flag