Increased variation max and added ConvertUnit Lua function