Added determinig OS type
Cosmetics
Added support for system wide usage