added private registry support