Enabled logging for oi.exe and started on writing back from scripts