modularizes log_maker_script and adds another log