Remove script scope from script_opts variable