Logs writing. Restart script working.