Fixing variable usage
I don't know how, but I left off the $ in front of every variable. d'oh.