Thin Lizzy flew to Canada in May 1977 as a trio to record "Bad Reputation", with Gorham handling all the guitar parts. A month into the sessions, at Gorham's urging, Robertson joined them, in his own words, "as a session player" and in Lynott's words, "as a guest". Robertson added lead guitar tracks to three songs as well as rhythm guitar and keyboards, and was officially reinstated in July. The album was released in September and sold well, reaching No. 4 in the UK, after a successful single, "Dancing in the Moonlight (It's Caught Me in Its Spotlight)". Also in 1977, Thin Lizzy headlined the Reading Festival, and played Dalymount Park on 21 August.