Changed datatype 5 config writing code to write integer 0 instead of string 'None' if field is left empty, as these parameters typically expect int or float, not strings.