Another attempt at building a dt.img