For a 20mhz crystal, second config line should be

Code:
__CONFIG _CONFIG1H, _FOSC_HSPLL_HS_1H & _IESO_OFF_1H