Adding pdf pref