Added merge rows (flatten) option;