add settings and local settings