Added functionality to save data-tables