add globals option
Merge pull request #5 from neerolyte/globals_option

add globals option