added checking if pip exists