Add option to toggle extension on and off

Resolves #2
Fixes #6