I think these many script versions also suggest an ineffective way of coding. When your code does not work, it seems you do not try to understand why, but wildly add more code. That will not fix the problem but make it worse.