Hi Milosz,
Apologies, I must have missed or misunderstood what you said. Unfortunately I cannot share the code as it is proprietary, but I appreciate the help thus far. I will continue to work towards a solution independently.
Best regards, Michael