auto detect horse in import