Fix of plug.dj script to be test lib