Auto writes to config