retrieve version from s3 bucket