add directory param