add dir-level control

add dir-level control