#16 modified swUpload script to use the generated resource id from the CKAN script