Last version of ntuplewriter