Fix variable name
Rename output file and table to tables_entries