Renamed the checkbox + code regarding the automatic_flag.