Update readme.md
Missed comma
Updated example, added globals
Merge pull request #3 from CraigChilds94/master

Updates on docs and added globals