only load yas under certain modes