Fix donate

Updated variable names
Variable check
Still not perfect
Merge pull request #4 from thgh/patch-1

Fix donate