Add checks: if config file exists and is writeable