UNSW scientists have identified a molecular switch in the body that regulates production of two substances vital to human health – cholesterol and vitamin D.