Updated gpmin-new to generate the correct number of restarts