Yeah forever. Only just realized.

Anyway, on the subject of the script, here is where you went wrong:

1. You ran it as sudo - Why?
2. When you asked what it was I said it was a "server thingy...