regulation of small molecule metabolic process