Convert get_settings() method to use a static variable store