Put table_name_prefix in the right spot