Its a 327 motor just rebuilt and put back in car. It starts right up but as soon as i let go of the key it shuts down. Turn key and give it a little gas-starts right up-let the key go-shuts off.Once in a while it will stay running as long as i give it gas-take foot off the pedal-shuts down. When i can can get it to run[while giving it gas]the generator light in the dash stays on. I had the alternator,voltage regulator,coil and battery tested and all are good.All spark plugs are dry.Could i maybe have the distributor in backwards? Any other ideas-also i do not have an exhaust system on the car yet-just exhaust manifolds.