Render the custom vars passed

Render the 'attr' option
Merge pull request #491 from neoshadybeat/patch-2

Render the custom vars passed