Shaun Maloney's sublime free-kick gave Scotland a late win against Macedonia, taking Gordon Strachan's side to fourth in their World Cup qualifying group.
Ikechi Anya had earlier marked his first international start by putting Scotland in front, shooting into the far corner from a tight angle.
However, the initially lacklustre hosts stirred and Jovan Kostovski equalised.
But Wigan midfielder Maloney curled a 25-yard set-piece into the top corner to give Scotland a second Group A win.
Goalkeeper Tome Pacovski misses kick-off in Scotland game
The three points take Scotland above their opponents at the Philip II Arena and Wales, who lost
3-0 at home to Serbia.
Both the frequency and swiftness of Scotland's attacks on a visibly scarred and bumpy pitch at the Philip II Arena in Skopje will encourage the Tartan Army, who witnessed a far less threatening Macedonia team from the one which passed in triangles around their team at Hampden Park almost a year ago to the day.
Watford's Anya was constantly the outlet on the left-hand side and he regularly made light work of the attentions of home right-back Daniel Georgievski, despite having to deal with what sounded like ominous booing of the Watford winger by home fans.
He answered those perfectly by latching onto Barry Bannan's through ball and drilling across Macedonia goalkeeper Tome Pacovski to give his country the lead.
That only shook the hosts into action, though, and substitute goalkeeper Matt Gilks had to be at his best to keep out a string of efforts from the likes of Mirko Ivanovski and Adis Jahovic.
The pressure eventually told when Kostovski cleverly touched a cross from the left around the onrushing Gilks before calmly tapping into an empty net.
Before the match, an away point would have been welcomed by Scotland, who have struggled in this World Cup qualifying campaign.
However, when James McArthur was fouled on the edge of the opponents' box with two minutes of normal time remaining, Maloney seized his chance to execute a perfect free-kick from distance.
Anya's encouraging array of high and low deliveries into the box often failed to find a team-mate, but Steven Naismith, playing up front instead of Leigh Griffiths, was unlucky to head one of the 25-year-old's crosses over the bar in the first-half.
Everton's Naismith went on to create the best chance of the first half for captain Scott Brown, who ran into the box and watched his lifted effort get diverted away from danger by Pacovski in goal.
What do the stats say?
Scotland had 13 shots on goal compared to Macedonia's nine.
Gordon Strachan's side had 58% of the possession in the first half, but only 37% after the break.
In comical manner,
Pacovski stayed in the limelight straight after the break when referee Fredy Fautrel immediately halted the second half, just two seconds in, upon realising the Macedonian stopper had not yet returned to the pitch.
Cedomir Janevski's side looked far more menacing in the second period, with Gilks, on for David Marshall, making good diving saves on three or four occasions.
But Macedonia's late flurry was not enough to make a Scotland win seem unjust. Strachan's men can take heart from this and stride forward with greater confidence ahead of the final match of a dead campaign against Croatia at Hampden on 15 October.
James McArthur fouled by Vance Sikov, the ref awards a free kick. Booking for Vance Sikov.
Free kick awarded for a foul by Mirko Ivanovski on Ikechi Anya. Lee Wallace takes the free kick.
Assist by Goran Pandev.
83:00 Goal scored
Goal! - Jovan Kostovski - Macedonia 1 - 1 Scotland Jovan Kostovski slots the ball left footed into the goal. FYR Macedonia 1-1 Scotland.
Substitution Jovan Kostovski replaces Adis Jahovic.
The referee blows for offside against Steven Naismith. Vance Sikov restarts play with the free kick.
The offside flag is raised against Mirko Ivanovski. Matt Gilks restarts play with the free kick.
Free kick taken by Vance Sikov.
Substitution Lee Wallace is brought on as a substitute for Steven Whittaker.
Unfair challenge on Vance Sikov by Steven Naismith results in a free kick.
Mirko Ivanovski takes a shot.
Substitution James McArthur comes on in place of Barry Bannan.
Shaun Maloney takes a shot and went wide of the right hand post.
Daniel Georgievski delivers the ball. Ivan Trickovski has an effort at goal and missed to the left of the net.
The referee blows for offside. Ikechi Anya goes into the book for unsporting behaviour. Free kick taken by Tome Pacovski.
Mirko Ivanovski takes the chance to get an effort at goal. Fine finger tip save by Alan Hutton.Corner taken by Mirko Ivanovski.
Shot by Mirko Ivanovski. Alan Hutton dives and deflects the ball away.Corner from the left by-line taken by Ivan Trickovski.
The referee shows Steven Whittaker a yellow card for time wasting.
Shaun Maloney fouled by Ostoja Stjepanovic, the ref awards a free kick. Ostoja Stjepanovic goes into the referee's book for unsporting behaviour. Free kick taken by Steven Whittaker.
Ivan Trickovski takes a shot. Matt Gilks safely holds on.
The referee gives a free kick against Steven Naismith for handball. Vance Sikov restarts play with the free kick.
Foul by Charlie Mulgrew on Ivan Trickovski, free kick awarded. The referee cautions Charlie Mulgrew for unsporting behaviour. Free kick taken by Ostoja Stjepanovic.
Corner taken by Ivan Trickovski. Clearance by Alan Hutton.
Foul by Steven Whittaker on Mirko Ivanovski, free kick awarded. Daniel Georgievski restarts play with the free kick.
The assist for the goal came from Barry Bannan.
58:49 Goal scored
Goal! - Ikechi Anya - Macedonia 0 - 1 Scotland Ikechi Anya grabs a goal with a left foot finish. FYR Macedonia 0-1 Scotland.
Mirko Ivanovski takes a weak shot and missed to the left of the net.
Ikechi Anya takes the chance to get an effort at goal and missed to the right of the net.
Substitution Aleksandar Trajkovski leaves the field to be replaced by Mirko Ivanovski.
Aleksandar Trajkovski produces a cross that goes out of play.
Adis Jahovic crosses the ball. Clearance made by Alan Hutton.
Darko Tasevski takes a shot. Matt Gilks gets their feet to the ball .
Unfair challenge on Steven Naismith by Ostoja Stjepanovic results in a free kick. Steven Whittaker restarts play with the free kick.
Adis Jahovic concedes a free kick for a foul on Scott Brown. Steven Whittaker restarts play with the free kick.
Steven Whittaker fouled by Aleksandar Trajkovski, the ref awards a free kick. Steven Whittaker restarts play with the free kick.
The game restarts for the second half.
45:00 +1:02 Half time
Half Time The referee blows for half time.
Free kick awarded for an unfair challenge on Adis Jahovic by Grant Hanley. Vance Sikov restarts play with the free kick.
Substitution (Scotland) makes a substitution, with Matt Gilks coming on for David Marshall.
Foul by Vance Sikov on Steven Naismith, free kick awarded. Charlie Mulgrew crosses the ball in from the free kick. Tome Pacovski punches the ball.
Adis Jahovic takes a shot and went wide left of the goal.
Ikechi Anya takes a shot. Tome Pacovski turns it away with a finger tip save. Corner from the right by-line taken by Barry Bannan. Russell Martin takes a shot. The ball is crossed by Ikechi Anya. Tome Pacovski safely holds on.
Russell Martin restarts play with the free kick.
Substitution Darko Tasevski is brought on as a substitute for David Babunski.
Unfair challenge on Charlie Mulgrew by Goran Pandev results in a free kick.
The ball is delivered by Stefan Ristovski. David Marshall catches the ball.
Adis Jahovic challenges Russell Martin unfairly and gives away a free kick. Russell Martin restarts play with the free kick.
A cross is delivered by Steven Whittaker. Tome Pacovski catches the ball.
Scott Brown takes a shot. Tome Pacovski blocks the ball.
David Babunski gives away a free kick for an unfair challenge on Steven Naismith. Charlie Mulgrew takes the free kick.
The offside flag is raised against Shaun Maloney. Vance Sikov takes the free kick.
Corner taken by Barry Bannan from the right by-line. Grant Hanley gives away a free kick for an unfair challenge on Stefan Ristovski. Nikolce Noveski restarts play with the free kick.
Alan Hutton takes a shot. Clearance made by Vance Sikov.
Cross/shot by Ikechi Anya goes over the bar.
Free kick awarded for a foul by Grant Hanley on Adis Jahovic. Free kick taken by David Babunski.
Vance Sikov challenges Steven Naismith unfairly and gives away a free kick. Shaun Maloney crosses the ball in from the free kick. Tome Pacovski catches the ball.
Charlie Mulgrew takes a shot.
Goran Pandev takes the chance to get an effort at goal. David Marshall catches the ball.
Handball by Scott Brown. David Babunski crosses the ball in from the free kick.
Free kick awarded for a foul by Stefan Ristovski on Alan Hutton. Free kick crossed by Barry Bannan. Tome Pacovski safely holds on.
Nikolce Noveski challenges Steven Naismith unfairly and gives away a free kick. Barry Bannan restarts play with the free kick.
Shot by Steven Naismith went wide of the left-hand post.
Corner from the right by-line taken by Goran Pandev. David Marshall catches the ball.
Corner taken short by Goran Pandev.
The referee blows for offside. Vance Sikov restarts play with the free kick.
This page is best viewed in an up-to-date web browser with style sheets (CSS) enabled. While you will be able to view the content of this page in your current browser, you will not be able to get the full visual experience. Please consider upgrading your browser software or enabling style sheets (CSS) if you are able to do so.