made it an actual plugin