I actually forked @Mmcx125 's code (I also sent pull requests to him and @Kyraminol ) and made quite a few changes including fixing some stuff that was commented out like confirmations and warnings (for example removing ALL tickets)Some of the logic may not be quite right but I my mistake after I ran it and it nuked my tickets.db... (including system tickets...)