added support for options.extensions
Merge pull request #22 from featurist/master

added support for options.extensions