Updated daily_build.py
Fixed logging and daily build script.
Merged.