Sorry about that, I had somehow uploaded an old version of the script :xRe-download the script and it should work now