Made the plugin a lot more configurable.

Signed-off-by: Lucas Arnström <lucasarstrom@gmail.com>