updated to add _table.txt where appropriate