Nevermind, the problem i had, i fixed it by just chmodding a couple files. Now that i am able to test it... This script is awesome! :)
EDIT: CHMOD updates.txt to be writable*