I completely redid the script...

...by doing nothing at all.