Revise the process to check command exists
Merge branch 'master' into mac