Code goes through catalog and finds bad links