Fix running the image command.