implemented wrapper scripts for OS X