split tags script
Fix redirects