use cmd for those checks