Osx script fixup.