Add abilty to pass options to exec

Fixes issue #22