gets refinery setup with s3