added admin restart function to dunn plugin