Trouble getting hemi running right

I had an exhaust leak and it would backfire. I’m wandering if it needs the mufflers for some kinda backpressure.
I don't know much about your particular app, but for a regular old engine, if you have backfiring, it could be exhaust leak, complicated by insufficient combustion, which could be from a rich condition or a vacuum leak