add -I|--image support