improved script, run.py.
Logging moved to file in processor.py