Write the defaults file