Original sentence: He agreed a two-year contract with the club, who had lost in the League One play-offs the previous season.It was annonced on 20th July  2009 that Josh had joined Gillingham on loan.Josh made his debut for Gillingham on 8th August in 5-0 win over F.Swindon Town
Edited sentence: He agreed a two-year contract with the club, who had lost in the League One play-offs the previous season, but spent most of that season on loan at Hereford, against whom he had made his league debut for Carlisle.In July 2009 Gowling joined Gillingham on loan, initially for a month, and made his debut on 8 August in a 5-0 home win over Swindon Town