using osx as bin file