fix how "detect?" looks at the machine
Merge pull request #4 from kanzure/better-detect

fix how "detect?" looks at the machine