added MacOS X support to the ggpofba wrapper script