I assume you are using Micro Code Studio as an editor.

Any programmer the can be used with MCStudio must have a command-line interface, and I don't believe that the ICD2 has that option.

I use an ICD2 and I simply open MPLAB and IMPORT the .HEX file that PBP produces. You can program your chip that way.