bugfix; prevented config text from being written after initial file creation.