now passing cloud_url and version.
now passing cloud_url and cloud_version.
removed unneeded var.