add options argument
Merge pull request #9 from jeffling/master

Allow options to be passed in