Fix: not being able to write to config file