Attacker Duk returned to action in the 3-2 win against Hearts for the first time since going AWOL for three months.