Made compatible for both windows and *nix