else {
// open a new tab in an existing iTerm window
app.doShellScript("open -a iTerm")  // bring just one iTerm window to front, unminimized if needed
iTerm.currentWindow.createTabWithDefaultProfile()
}