Downloading contracts working