So you have the only one part of the script, and it works but not the other part. Perhaps de-install the script and run the installer again.
For the time being, the “Object Manager>Objects>Current Stat to Object” does nearly the same, as you certainly know, it misses only the part of deleting the original.
I installed it in R13 to R17 and it didn’t failed once, so I have no idea what could have gone wrong.
BTW, check your Private Messages.
All the best