add cmd dir and model dir