dymanic directory selection for 158