overwrite config automatically