added missing imports to opts