Simplify hook selection logic