support for *nix and nt systems