separated settings into local and base