Added a check if expect is installed