Added support for external image repository