Only Overwrite Config File if Necessary