Add isdantop function
Remove non-ail directories from path on dantop