function onLoad() self.addContextMenuItem("Download", download) end function download(playerColor) Global.call('placeholder_download', { filename = self.getGMNotes(), player = Player[playerColor], replace = self.guid }) end