Made logging to a different file every day. Added config loading in the git hook.