def METHOD_NAME(config, db, update_db):
	info("Checking for new episode scores")
	shows = db.get_shows(enabled=True)
	for show in shows:
		latest_episode = db.get_latest_episode(show)
		if latest_episode is not None:
			info("For show {} ({}), episode {}".format(show.name, show.id, latest_episode .number))
			scores = db.get_episode_scores(show, latest_episode)
			# Check if any scores have been found rather than checking for each service
			if len(scores) == 0:
				for handler in services.get_link_handlers().values():
					info("  Checking {} ({})".format(handler.name, handler.key))
					# Get show link to site represented by the handler
					site = db.get_link_site(key=handler.key)
					link = db.get_link(show, site)
					if link is None:
						error("Failed to create link")
						continue
					new_score = handler.get_show_score(show, link, useragent=config.useragent)
					if new_score is not None:
						info("    Score: {}".format(new_score))
						db.add_episode_score(show, latest_episode, site, new_score, commit=False)
				if update_db:
					db.commit()
			else:
				info("  Already has scores, ignoring")