Upload to S3 if bucket defined