Some wise-guy film editor got a hold of Thursday night's script and made changes the Tigers didn't appreciate.

Not until that surprise, 14th-inning ending.

The Tigers, who were supposed to have done what most teams do with the Astros — drill them — instead played catch-up and giveaway for most of a long night before a four-run, 14th-inning explosion gave manager Jim Leyland's team a 7-3 victory at Minute Maid Park.

Don Kelly's bases-loaded single shoved across the go-ahead run in the 14th, and Matt Tuiasosopo's follow-up double scored two more ahead of Jhonny Peralta's sacrifice fly as the Tigers finally put away the Astros and moved their record to 16-11.

"We'll enjoy this one," said Leyland, whose team was perilously close to a distressed night's sleep had the Tigers lost to the Astros (8-21).

The winning pitcher was reliever Luke Putkonen, who might have taken a bow for an entire Tigers pitching corps. He arrived with two out in the 12th and hung on for 2.1 innings of hitless, scoreless work that made him a first-time winner in the big leagues 24 hours after he had been recalled from Triple A Toledo.

But there were bountiful Tigers pitching stars, beginning with starter Rick Porcello, who was strong through seven innings, and extending through red-hot reliever Jose Ortega, to Joaquin Benoit, Darin Downs and, finally, Putkonen.

"People who do the job stay here," said Leyland, a reference to Ortega and Putkonen, who on Wednesday joined the Tigers and who Thursday combined for 4.1 innings pitched, zero hits, seven strikeouts and one walk. "Luke had a pretty good curve tonight, and Ortega threw some nasty sliders."