fixes #152 and #153
all tests pass
Merge pull request #1 from bitovi/script-exec

Allows multiple global variables to be exported.