now searches avaliable paths of command