refactor: eliminate global var
refactor: eliminate global var

kinvolk/scope,weaveworks/scope,alban/scope,weaveworks/scope,alban/scope,alban/scope,kinvolk/scope,kinvolk/scope,weaveworks/scope,alban/scope,alban/scope,weaveworks/scope,kinvolk/scope,kinvolk/scope,weaveworks/scope,weaveworks/scope,alban/scope,kinvolk/scope