Hi,
I don't know what you mean by tried to fix the script. This procedure is created by the script as far as I know and this procedure has not changed since 2005. It does exist in my installations so I don't know why it would disappear on your system.
Sorry I don't have more help for you.
Best,
Joe