Function on cross OS

cmd is a mac only key. Using this makes it usable on windows