Added the table upload code