Add local_settings check