including image creation and timeout for analysis