Expanded to check OS, windows done, *nix incoming.