Support for init with options

Support for init with options that overrides defaults.