Added ability to provide an image ID to extract the IP