added the path check to the install script