BLOOMINGTON, Ind. -- Indiana Hoosiers coach Tom Allen changed tactics this week.
Instead of focusing on one game, he took the big-picture approach and his players responded.
Stevie Scott's late, long run set up Logan Justus for a 42-yard go-ahead field goal with 2:32 to play and Nile Sykes recovered a fumble in the final minute to preserve Indiana's 34-32 come-from-behind to keep Indiana in the postseason discussion.
"I didn't want to talk about going to bowl games, but I just said, `You know what, forget all that, I'm talking about bowl games' because they're big," Allen said. "I'm going to call these guys out on it and say that's what we're playing for."
After a slow start, the Hoosiers (5-5, 2-5 Big Ten) rebounded with three touchdowns in less than 4 minutes in the first half then closed with a flurry to snap a four-game skid. They need one more victory to become bowl-eligible.
At least they still have a chance and largely because they got contributions from each phase.
Scott carried 19 times for 103 yards and one touchdown. Peyton Ramsey went 16 of 28 with 243 yards, two TD passes and one interception and also made two shifty moves on a 35-yard scoring run in the first half.
The defense held Maryland (5-5, 3-4) to field goals on its first two trips into the red zone and forced four turnovers, including the sealing strip-sack of backup quarterback Tyrrell Pigrome.
Justus made all four extra points and two field goals, something Maryland could not. A missed extra point and a failed 2-point conversion with 4:54 left took crucial points off the board for Maryland, spoiling Anthony McFarland's career-best day. He ran 29 times for 210 yards in relief of the injured Ty Johnson.
With the loss for Maryland, their bowl hopes have taken a significant hit.
All the team needs is one more win to extend their season by a game and make the postseason. Their remaining two games are against Top 25 opponents Ohio State and Penn State.
Maryland's lone Top 25 win this season was in the opening week against Texas.
"This isn't the last game of the season," interim coach Matt Canada said. "Oh my gosh we wanted to win, we certainly could have."
It sure wasn't easy for the Hoosiers , either, even after they took a 31-15 lead midway through the third quarter.
Maryland charged back after Javon Leake returned a kickoff 47 yards to the Indiana 27-yard line. Two plays later, Leake scooted right and sprinted 27 yards down the sideline for a touchdown. Pigrome's 2-point conversion pass to McFarland made it 31-23.
The Terrapins closed to 31-26 on a field goal early in the fourth and retook the lead when Pigrome hooked up with Jeshaun Jones on a 15-yard TD pass.
But when Tayon Fleet-Davis' run was stopped short of the goal line, Indiana took advantage.
Following a 23-yard kickoff return to the Indiana 40, Scott broke free down the right side of the field and went out of bounds at the Maryland 33. Four plays later, Justus made the decisive field goal.
"It was amazing," Justus said. "I was kind of just spacing out, I was really excited."
NBC Sports Washington's Tyler Byrum contributed to this story.
MORE TERPS NEWS: