Thanks for the review! Duplicate resteems or upvotes are not an issue since an exception is thrown which is handled if there already is a resteem or vote with the same percentage, the script checks for duplicate comments though.