Insert opts.context (bugfix)

Configuring the context wasn't working for me - this should fix it.