Ok I found it, there were a couple of configuration bits that for some reason the config setting I originally had didn't work when I launched the programmer. I changed them with the U2 software before programming and now all is well. I guess this is one of those moments where you've been staring at the screen for hours and you mind is starting to get tunnel vision. Thanks for you help