Martin and Griffiths were both denied by the crossbar and it looked like being another near-miss for the Scots against the 10-man Slovakians, but smart play from Griffiths and a risky cross from Anya saw Gordon Strachan's side move second in Group F with just Slovenia to play. An Ikechi Anya cross was contested by Martin and Skrtel and it was Skrtel who steered the ball into his own net to send Hampden into raptures as all eyes now turn to Slovenia.
The Scots face a trip to Slovenia on Sunday evening knowing a win will guarantee them a play-off spot for the chance to head to Russian Federation next summer.
On Slovakia's first visit to Scotland, Gordon Strachan began with Darren Fletcher and Barry Bannan in place of the injured Scott Brown and Stuart Armstrong. "I've been so close a few times in these final games only for them to go against us".
"I'm sure I'll dream about it between now and then, but everyone has contributed and I'm not going to try and claim the credit for what has been done here".
With only three days between the fixtures, Strachan may give McGregor his chance in the Slovenian capital but it looks unlikely. In the last four games we've played really well and got the results that we've deserved.
Martin's introduction helped lift Scotland in the closing stages and he and Leigh Griffiths had both rattled the crossbar before that victor that he always felt was coming, went in. 'It would be a huge disappointment if we didn't right enough.
"We had all these great performances and then the footballing gods chose to give us victory".
"We were so unlucky all game, but it doesn't matter how you get there as long as you get there in the end".
"It says a lot about their fitness".
"I'm not getting any younger".
You have got to have the fitness to have the mental strength, otherwise, you have a weakness.
In the first half his save from Christophe Berra drew gasps from the Scotland support, while his acrobatic stop to deny James Morrison's goal bound effort seconds after Leigh Griffiths' cracked the bar with a free-kick left many questioning whether it was just not going to be our night.