some install fixes and cli fixes