fully implement local_settings