driver creation now uses new setOptions method

This is to match upstream changes to Stash.
Merge pull request #50 from tedivm/upstream_compat

Driver creation now uses new setOptions method