link preference bundle with lua