change config to readable/writable file