basic OS detection added