If you look in the comments of the video you will see what I had to do to make the script work. I hope I don't offend you by my very newbie-like approach. You can always just ignore me and wait for more advanced terminal magic suggestions ;)

EDIT: Just realized that if the old drivers give you problem, run these commands in the Terminal:

I'm no expert but the last time I installed ATI drivers on an ubuntu machine I ran into a similar problem. It turned out I didn't have the kernel headers installed. grabbed the headers and the kernel module compiled no problem.

also, from the post you made it looks like you were trying to prepare the machine for a 32 bit driver build, is there any reason you're installing these: