@ironsidevsquincy would be the best person to answer, he wrote that code but it is black magic to me.