Updated to use AppFigures v2 API