Improved broken links finder script