Manager Mark McGhee said: "I am delighted. He has lost a bit of weight since he came here but he is also on a much healthier diet - and playing games has certainly helped. He knows he is on the right route.
"He has been playing for his future, as well. When he came here he was unemployed. He has seized the opportunity to get back into football and has been doing well for us."