add diatrics plugin