completed jbplugin with psql support