Registration options

Activation hook now tests for existence of options before setting.