KS: add duak image handling