I am not familiar with the pic18f24k20 nor does my version of PBP support it.

Perhaps someone else knows the order of the ports for this PIC. I could not readily put my hands on the datasheet - it would not download from microchip for me?