Reworked scope handling.
Merge branch 'master' of github.com:massimiliano-mantione/metascript