onOpen = () => {
  SpreadsheetApp.getUi()
    .createMenu('myTime')
    .addItem('Sync calendar events', 'run')
    .addItem('Settings', 'settings')
    .addToUi();
}
Runs when the spreadsheet is opened and adds the menu options
to the spreadsheet menu