fixes #7; fixes #8: support plugin