updated hector version, added token detection and toggle of query for such