Added IMG support.