Add more algorithms + log file option.