Here is a one popular way that works:
black from engine to = black on cdi
blue from engine to = blue on cdi
white from engine to = (striped,green?)wire that does'nt have a eyelet on the kill switch
(black?)wire with eyelet on killswitch to = ground to frame or engine
Keep all wires away from heat.