Make log file directory cross-platform. Better logs. Force use of IPC::Cmd and IPC::Run. Clean more stuff with regex.