Using Phil's code to test the upload/download utilities in the cloud. Fixed a bug in extracting the inputSpec during the download process