Merge pull request #35 from bpearson/master

Checking the value of variables instead of if it exists.