added order threshold to module conditions