changes the way @default_table is set. Now it has a fixed name, chosen on a ternary condition