allow to run the plugin with no dem

Here's an implementation for feature #8