Sensing of TNFα and IL22 serum levels using the corresponding receptors and linking their downstream signaling in an AND-gate logic enabled the expression of the anti-inflammatory cytokines IL4 and IL10 to treat psoriasis or prevent its development. Here, IL10 is linked to psoriasis.