adapt to morph into a shpinx plugin