update OSX script