updated options injection