add support for dynamically changing options

Also put all options on scope directly