Properly sets options.
Merge pull request #21 from sdispater/issues/20-options-are-not-taken-into-account

Properly sets options.