Added table exporting