Update deprecated option to scope block

Fixes the warning I get on startup:
DEPRECATION WARNING: .... Please use a scope block instead.