Thanks for your help Simon, I've replied to your comments over in GitHub, as am still having issues getting this to work.
Appreciate your help on this!