if its popping flames that means you have fuel and spark. Ergo, your timing is retarded ALOT, could be the ecu not knowing where a reset is or a knock sensor retarding timing or something like that.