Thanks for the reply @gchiste. Forgive me if I'm missing something, but it's the code you listed the same as in the script screenshot I list? When I paste in the replacement the error is the same and I'm not spotting a difference in the code.
Topic:
App & System Services
SubTopic:
Core OS
Tags: