The Milwaukee Brewers control their own destiny again.
Rickie Weeks hit a three-run homer in the seventh, Seth McClung pitched four scoreless innings in relief and the Brewers rallied to beat the Chicago Cubs 5-1 on Friday night for their fifth straight win and the lead in the NL wild-card race.
With the Mets losing 6-1 to Florida, Milwaukee leads New York by a game with two to play.
Weeks, who has been relegated to a bench role but replaced Ray Durham after the sixth, drove reliever Chad Gaudin's pitch deep to left field, flipping his bat as his shot cleared the wall to score McClung and Mike Cameron.
The win eliminated the Astros even though Houston beat Atlanta 5-4.
Corey Hart added a two-out run-scoring single in the sixth and Jason Kendall a two-out RBI double in the second to put the Brewers back on top of a race they seemed likely to win at the start of September, when they led the wild-card race by 5 1/2 games.
But Milwaukee dropped 15 of 19 to begin the regular season's final month. Manager Ned Yost was fired and replaced with Dale Sveum, leaving the Brewers in a desperate scramble to reach the postseason for the first time since 1982.
Now Milwaukee is a win away from at least a spot in a play-in game, but the Brewers would have to go on the road in every tiebreaker scenario and would rather just keep beating the Cubs.
They did on Friday night with McClung's stellar work out of the bullpen.
With the game tied at 1 in the sixth, Cubs reliever Sean Marshall (3-5) allowed a leadoff double to Durham and walked Ryan Braun before striking out Prince Fielder. Jeff Samardzija came in and got J.J. Hardy to pop up for the second out, but Hart flared a go-ahead RBI single to left, his second of the game after coming in hitting .172 in September.
In the seventh, backup catcher Koyie Hill was called for catcher's interference during McClung's at-bat. McClung reached second on a balk and moved to third on Cameron's single before Weeks' shot off Gaudin made it 5-1.
The Brewers got yet another victory despite a shaky starting rotation that's held up to every move Sveum's made. The next risk comes Saturday, when All-Star Ben Sheets (sore elbow) starts for the first time since Sept. 17.
Brewers starter Jeff Suppan, 0-3 with a 10.47 ERA in his first four September starts, allowed eight hits and a walk over five innings. McClung (6-6) did the rest, striking out six and retiring 10 of the final 11 Cubs.
Suppan's lone mistake was a belt-high pitch to Jim Edmonds in the second that Edmonds launched in the Brewers' bullpen to give the Cubs a 1-0 lead. But Kendall tied it in the bottom of the second with his RBI double, scoring Hart.
Dempster, who'll start Game 1 of the National League Division Series, threw five innings in his final tuneup before the postseason. He allowed four hits and a walk while striking out four over 80 pitches before being replaced by Marshall. Manager Lou Piniella said Carlos Zambrano, Rich Harden and Ted Lilly would start following Dempster in the playoffs.
The last time these two teams met, the NL Central was up for grabs and the Cubs had a grand time, sweeping the Brewers over four games to end July by a combined score of 31-11.
But the Cubs are under no pressure in this final three-game series, having locked up homefield advantage in the NL. They still played their starting lineup except Mark DeRosa, sidelined with a strained calf.
After Sheets, Milwaukee will send CC Sabathia (10-2, 1.78) to the mound on short rest for the third consecutive time on Sunday if it's necessary to secure a postseason berth.