fixed logging & refactor so we could force the version string in the search if we wanted