added error log level, added '--debug' option to run.py so now we can attach the process to the winpdb python debugger