move plugin out of tasks