Add opts param to on_supported_os method