add script finding smallest rms in results