several minor improvements to run metabolic