simplfied output_ntup.py a little bit