Other functions of niacin include removing toxic chemicals from the body , and helping with the production of steroid hormones made by the adrenal gland . Niacin is involved in both DNA repair , and the production of steroid hormones in the adrenal gland .