updated connections to RowDetect. Updated Rowdetect