added functionality to merge excel sheets