add medium-mode plugin