Add compile switch and knobs for palette