Simplified board scan code.