settings_load needs to be before init_term