Last updated on .From the section Football

Scotland finished their preparations for their World Cup finals debut with a winning flourish in front of a record home crowd of 18,555.

But Shelley Kerr's side were made to work hard by Jamaica, who will be the lowest-ranked side in France.

Khadija Shaw fired the visitors into the lead before equally fine finishes from Erin Cuthbert and Caroline Weir gave Scotland a half-time advantage.

Sophie Howard allowed Shaw a second but made up for her error with the winner.

Scotland head into their opening group game at the finals, against England on 9 June, on the back of an unbeaten five-game run. They will also face Japan and Argentina.

It was a first defeat in seven for Jamaica, ranked 33 places below Scotland in 53rd, but Shaw in particular showed they could cause problems to group opponents Australia, Italy and Brazil.

Sweet music for Scots against Reggae Girlz

In front of a crowd four times bigger than the previous record for a home women's international, the side known as the Reggae Girlz were intent on being party poopers as they prepare for their own World Cup debut.

Hue Menzies, their London-born coach of Scottish descent, had promised to "surprise a few people" despite Jamaica being the lowest-ranked side heading to the finals in France next month.

The Scots were tickling the ball about neatly in their pink change strips until Jamaica lived up to Menzies' claim that they are "probably the most athletic team in the competition" by taking the lead after threatening on the break.

Shaw is currently without a club after leaving Florida Krush last year, but the quality of her powerful finish through the arms of goalkeeper Lee Alexander after Scotland lost possession suggests the 22-year-old ought to ensure many a suitor after the finals.

Scotland responded, with Weir and Little forcing goalkeeper Sydney Schneider to beat away a couple of powerful efforts, before Cuthbert burst into life with the kind of strike that has already brought the Chelsea forward a plethora of awards and plaudits this season.

Her thundering drive from 30 yards would rival her goal voted the best in this season's Champions League and, five minutes later, Manchester City midfielder Weir added a sublime finish of her own with a curling free-kick.

It was all looking comfortable for Kerr's side until half-time substitute Howard was dispossessed by Shaw, who strode forward elegantly before clipping the ball over Alexander for her 30th goal in 22 games.

The goal and a series of substitutions knocked the Scots out of their stride, but they regained their composure once Howard looped in a header to restore the lead from a corner.

Jody Brown, the 17-year-old US-based college striker tipped for the top, could not match the impact of Shaw up front for Jamaica after the goalscorer limped off with an injury.

Kerr's Scots, though, emerged unscathed and victorious after an unprecedented send-off but knowing they must cut out the defensive errors if they are to make an impact in France.

Rose Reilly, who won the World Cup with Italy in 1984 after being banned from playing for her homeland, was among the former players belatedly awarded caps by First Minister Nicola Sturgeon before kick-off at Hampden

Scots can't defend like that against England - analysis

Former Scotland striker Julie Fleeting

It would have been exciting to play in front of that crowd and a great way to end the lead-up to the finals.

Lee Alexander will not be pleased that she's conceded two goals - and two goals that were avoidable. But an awful lot of positives from the game and a great performance from a lot of individuals. It will be a very different game against England. Different tactics, I'm sure, and maybe different personnel.

Former Scotland striker Steven Thompson

We will not get away with doing that when it comes to the World Cup against the quality of sides we are playing against. The two goals we lost were finished well, but they were so avoidable.

We did it at the last tournament - we shot ourselves in the foot, especially in the game against England. We were very open and I'm pretty sure tactically it will be different against England in France.