make plugin work from gem