Regarding scope and target-scope, a good explanation by CGGXANNX and the simplified way are on this thread:
starting here, JFYI: