core.lua.var becomes core.engine.var