rework how cloud provider is used in sync utils