Updated to extend options object instead of overwriting it (thanks @doowb. closes #1)