Sorry I got it because it was a 10mhz oscillator I needed to use "cfg = _HS_OSC" I found the answer in this pdf.
http://ww1.microchip.com/downloads/e...tes/00849a.pdf