mcs2: read/write config added