You're not actually calling the resurrection query function, you're just checking to see if the function exists. Add () after it.
http://lua-users.org/wiki/FunctionsTutorial
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff,
The Tao of Pooh