For Plug.DJ, Editied version of previously coded script