I first tried only using that script, but it didn't work. I thought maybe it was a compatability problem and added the other stuff.