Broke Andrew's script into two.

Scope code now fits mclib structure.
Added exception if can't find scope.