Added get_settings() function