fixed the install

now it will work better on partially setup machines