Extraction now works in python3
Logging now working in python3, except for --csv.