fixed executing osx file