option to set up default scope

option to set up default scope. I am normally using block assembly but i added to support for xml assembly too.

EDIT:
local tests are passed, i hope that is ok now :)