added short script to help illustrate scope and--hopefully--clarify confusion