Perl scripts for link filtering: Bug fixes and new features [skip CI]