Modify sample setting file.