Yes, I ran it in Scripts - Background, where only "Global" is available to select for the App scope. And that is due to the limited information on what steps you're using. Hopefully, another member will have suggestions for you. Your script found 161 records in my PDI to process. However none where any in the 4 tables of interest where not active.