The whole unit is what i would change, you could try just the black box if you have a spare?
Strange though you say it was fine before you changed the head, if there was an air leak and it wasnt sucking the flap down it wouldnt start and fuel wouldnt come out the metering head, but pressing the flap down would still make it pump fuel out.