With the teams bottom of Group D after a tough start to the tournament's second stage this always looked like being a tight game.
So it proved.
A high scoring game though.
With the teams locked together at 6-6 at full time it was Scotland who held their nerve to win the sudden death shoot out.
A narrow win but a win. Scotland's first in the second group stage.
With one game left Scotland are two points clear of Ukraine and just one behind tomorrow's opponents South Africa.
At the Homeless World Cup all teams are involved until the end so tomorrow's result could yet decide what trophy Scotland will be contesting over the final days of the tournament.
Brazil still lead the group after four straight wins with Portugal trailing them by a point. Tomorrow's clash between those two could be a cracker.
Ireland, who lost 7-2 against Portugal today, are on five points and will be looking for a win over Ukraine tomorrow to hold off the challenge off the winners of Scotland v South Africa.
With England bottom of Group A, Wales look most likely of the home nations.
They currently trail Argentina by two points in Group E but could yet overhaul them when the two meet in the final game tomorrow.
Wake up, UK
Mel Young, the Homeless World Cup's president and co-founder, has expressed his frustration at the lack of media coverage the tournament receives in Britain:
"The media attention in the UK has been extremely disappointing compared to the rest of the world. And I have to question their understanding of what it's all about.
"Wake up, UK! This is the 10th year we have organised this tournament and on the first weekend alone, we had over 50,000 spectators – more than just about any match in the English Premier League.
"There has been a lot of talk about legacy since the Olympics, and rightly so, and I think it's about time the media played their part in supporting this event, which is not just a fiesta of football but a once-in-a-lifetime experience that transforms the lives of many players – the poorest of the poor around the world."
Hard to disagree.
After a success laden 'summer of sport' the Homeless World Cup would seem to be the perfect way of prolonging the positivity.
But you'll be looking a long time to find much mention of the tournament in our media.
That's maybe stranger still in Scotland where reigning world football champions are somewhat thin on the ground.
And while the tournament is a global event its head office remains in Edinburgh, a social enterprise that continues to deliver results despite the economic woes of the past few years.
Anyway. No need to be starved of the rich tapestry that makes up the Homeless World Cup. Just keep visiting www.homelessworldcup.org