Fix to use setOptions() syntax
Merge pull request #3 from philwc/master

Fix to use setOptions() syntax