Fixed deskew and added try-except of non valid output from IM