improved git2log script