The $x variable is now correctly named $text
Merge pull request #2 from lukethenuke/patch-1

The $x variable is now correctly named $text