update bash to seperate table vs sample data