add missing files, add ability to specify table_id mask and table_id ext mask