This is not a ul listed proper code installation. There are very simple ways to install a temp generator setup that are safe and legal. Go to your elec supply house or Home depot and get the proper equipment $200-$300 depending on setup. If you cant install yourself I would suggest getting an electrician and PERMIT so it is done right. One small mistake and you may have a dead utility worker that YOU are responsible for.