support directory scope for execution