initializing plugin with full options object