Debugged move_logs.py