improved detection heuristics, added bscore