allow setting s3_config and ws_config.