can you share the script present on line 93 & 198 from the script include: JAMFDataSourceUtil.

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Regards,Sushant Malsure