Added OSX commands for swapping lines