adding $config statement on example code

Where did that $config came from?
Merge pull request #2 from turnred/patch-2

adding $config statement on example code