Change scout handling.
Refactor a bit, add to_config().