added config pref and extension