updated paths & os detection