In the following two years, Machado was loaned again, to Leixões S.C. and Ligue 1's AS Saint-Étienne respectively.
On 10 July 2008, Machado was loaned to the French club as part of the deal that brought Colombian Fredy Guarín to Porto [REF].