need to write the settings before downloading