- script only works with single vector layers. Checks for layersets though, and excludes them