use full path to /usr/bin/which command check