Move OSX MAC commands into osx file