Does the right thing with gdoc and gsheet on mac.