How many miles do you have? Coil pack is a start, along with spark plugs and wires. The exhaust should not have an effect like that though, was it like this right after you had the pipe fixed?