write to config now. totally untested