Plugin cleanup hsmaster