Replaced the dynamic_generate_table_rows