Refined settings and local_settings