Log to a file always
Improve "bundlelization" by setting PYTHONPATH and PYTHONHOME properly