check for the executable before trying anything