Function on cross OS

cmd is a mac only key. Using this makes it usable on windows
Merge pull request #1 from Not-steve/patch-1

Function on cross OS