New export functionality, Bug correction in tally process