add platform plugin