Matt Phillips kick-started Alex McLeish's second Scotland reign as his first international goal sealed a 1-0 friendly victory over Hungary.
The West Brom winger converted wing-back Ryan Fraser's low cross in the 48th minute as he grew into his centre-forward role.
Skipper Charlie Mulgrew earlier had a penalty saved as Scotland produced an encouraging performance in Budapest, although Allan McGregor made several good saves for the visitors.
Celtic centre-back Jack Hendry made an assured debut after replacing the injured Grant Hanley in a three-man defence following Friday's 1-0 Hampden defeat by Costa Rica.
Scotland boss McLeish otherwise selected a more experienced line-up as he made seven changes. Fraser came in along with midfielders Stuart Armstrong, John McGinn and Callum McGregor, while James Forrest supported Phillips up front as the West Brom player was recalled for an 11th cap.
Scotland started at a good tempo but slack play from their own throw-in allowed Balazs Dzsudzsak the first shot at goal. McGregor got down to save.
Scotland took some time to settle into a rhythm on a bumpy surface at the Groupama Arena, home of Ferencvaros, and McGregor made a good stop from a Dzsudzsak free-kick 20 minutes in.
Scotland's central midfield trio began to get on top of proceedings as Hungary, fresh from a home defeat by Kazakhstan, sat deep. Forrest had a weak effort saved after robbing a defender and McGinn had a strike blocked after clever play from McGregor.
The visitors were gifted a chance to go ahead in the 40th minute following a clumsy challenge on Fraser by Laszlo Kleinheisler. But Peter Gulacsi threw himself to his left to push away Mulgrew's firmly-hit spot-kick.
Forrest soon had a chance from Scott McKenna's cross but could not get hold of his first-time effort and the goalkeeper made a more comfortable save.
The penalty save had fired up the hosts though and Scotland needed Andy Robertson to be in the right place to stop Richard Guzmics' header going inside the far post following a corner seconds before half-time.
Scotland took the lead inside three minutes of the restart when Phillips met Fraser's cross and fired home first time from eight yards.
Scotland remained on top but had a warning on the hour mark when Roland Varga was allowed to work his way inside and loop a long-range strike which McGregor tipped over.
Fraser soon set up Phillips again on the break but the converted forward lacked conviction as he tried to play the ball across goal.
Scotland survived a scare with 20 minutes left when Mulgrew gifted possession to striker Adam Szalai, McGregor coming to his captain's aid by coming out to block well one on one.
Wolves full-back Barry Douglas came off the bench for his debut along with Aberdeen pair Kenny McLean and Ryan Christie, Cardiff's Callum Paterson and strikers Oli McBurnie and Jason Cummings.
But Scotland kept their shape and saw out the victory relatively comfortably.