Changed variables to global
Merge branch 'master' of https://github.com/DAHeath/green_chat