Runnable on the newest code

Made the script able to run on the latest development version of plug.dj