Base on new build plugin api