Please help! I'm not script-savvy, but I've managed to piece together a few scripts to help my school district create individualized google sheet workbooks for each student in my district's elementary schools. We have folders with approximately 150 google sheets workbooks per grade level. All 150 workbooks in each folder have the same tabs (sheets). I want to be able to delete a specific tab/sheet from all 150 workbooks in one of the folders. The container-bound script I was using to delete tabs suddenly stopped working. It now only deletes the tab for the workbook it is attached to, where just a few weeks ago, it deleted the tab from all 150 workbooks. I must have inadvertently changed something, but I can't figure out what. Any help would be much appreciated!

Here's my script:

```
function onOpen() {
   var ss = SpreadsheetApp.getActiveSpreadsheet();
}

function deleteSheets() {
    var sourceFolder = DriveApp.getFolderById("FOLDER ID");
    var folderFiles = sourceFolder.getFiles();
    var source = SpreadsheetApp.getActiveSpreadsheet().getSheets()[2];'
    SpreadsheetApp.getActiveSpreadsheet().deleteSheet(source); 
}

```