Add OS detection to commandline