Methoxsalen is a drug used to treat psoriasis, eczema, vitiligo, and some cutaneous lymphomas in conjunction with exposing the skin to UVA light from lamps or sunlight. Methoxsalen modifies the way skin cells receive the UVA radiation, allegedly clearing up the disease. The biosynthetic route then continues with the activation of dimethylallyl pyrophosphate (DMAPP), produced via the mevalonate pathway, to form a carbo-cation via the cleavage of the diphosphates. Once activated, the enzyme umbelliferone 6-prenyltransferase catalyzes a C-alkylation between DMAPP and umbelliferone at the activated position ortho to the phenol, yielding demethylsuberosin. This is then followed by a hydroxylation catalyzed by the enzyme marmesin synthase to yield marmesin. Another hydroxylation is catalyzed by psoralen synthase to yield psoralen.