Guy, guys, can't we all just get along?
Thanks for your help lads. The script is essentially working, except it's not displaying the RATE properly. Instead of 20000 which it should be (for the person I'm checking) it's showing 72 all the time. I'll figure it out, thanks for helping again.