add command check for checking dependencies.