Added the last stuff to make the plugin work. DEV BUILD THO