diff --git a/binaryc_python_utils/functions.py b/binaryc_python_utils/functions.py
index 41ec7208106b58ffbfe65acb1ed2b8da41023da8..26bbf5e066533ef34c16bd1bfe4c56653ee185e0 100644
--- a/binaryc_python_utils/functions.py
+++ b/binaryc_python_utils/functions.py
@@ -87,10 +87,14 @@ def run_system_with_log(**kwargs):
     for key in kwargs.keys():
         args[key] = kwargs[key]
 
+    # override internal buffering value because otherwise it wont write to file
+    args["internal_buffering"] = 0
+
+
     # Construct arguments string and final execution string
     arg_string = create_arg_string(args)
     arg_string = f'binary_c {arg_string}' 
-    
+
     # print(arg_string)
 
     # Run it and get output
@@ -144,4 +148,4 @@ def parse_output(output, selected_header):
         for key in keys:
             final_values_dict[key].append(value_dict[key])
 
-    return final_values_dict
\ No newline at end of file
+    return final_values_dict