Generating Excel file working once again