Achieving regulatory compliance in lottery operations