Only load in script if pref switched on