From comment: Annex apparently doesn't work on the backend anymore, but in theory, this code is correct Check workings near `if annex is not None:`