Add csv register mode