add setting to work in sub dir