wrap plugin execution