add exception handling for broken links and db:seed