Made Unix and Nix capitalized.
Cleanup of function call in main.