modify command directory