Add log.run and fix checkouting