Finally added load document image support