Update variable.lua
Replaced getVP with a better one