Adapting plugin to support Multiple Datasources