dir plugin