Debugging on write at midnight command