Adding media plugin