removed call of debug_append_to_file() at main