global + instance mode
Merge pull request #10 from therewasaguy/master

global + instance mode