add dirhistory as plugin