Added CLI option for setting the energy threshold for refinements.