Added trecs_record command