moved catalog-downloading code from targeting to hosts