Ah right, I admit that I had no idea what I was doing here. I missed the bit near the top of the file. Thanks, I shall fix!