override output file if score is better