Added the option to have attributes generated.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Merge pull request #129 from ddobrev/master

Added the option to have attributes generated