I don't know if what I did is legal or not, but I ran a four wire cord from the transfer switch back to the generator and put a three conductor plug on the generator end, and ran the green conductor out the cord grip and put a ring terminal on the end, and a stud and wing nut on the generator frame. The bigger generators have four wire outlets.
TW