Update repositories
Add support for log file redirection