add dirof command