updates to .osx script