Hello,
add_text and remove_annotations did not work for me. I had to modify
rect_string = sys.argv[5]
to
rect_string = clean_path(sys.argv[5])
in order for the plugins to work. Otherwise, I get
line 7, in parse_rect
page = int(parts[0])
^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: '"2'